// 完整使用
const mutiplesss: <T>(arr: T[], init: number) => number = function <T>(arr: T[], init: number): number {
    return arr.reduce((pre, cur: any) => pre + cur, init);
};

const mutiplees: <T>(arr: T[], init: number) => number = <T>(arr: T[], init: number = 0) => {
    return arr.reduce((pre, cur: any) => pre + cur, init)
}


type adada = {
    zks: (adsadasd: (A: infer U) => void) => U
}